package com.education.wisdom.pojo;


import com.education.common.core.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 视频资源表 jr_resources
 * 
 * @author ruoyi
 * @date 2018-11-07
 */
public class Resources extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	private String parentName;

	private Integer Id;
	/** 资源编号 */
	private String rNumber;
	/** 资源名称 */
	private String rName;
	/** 资源路径 */
	private String rUrl;
	/** 所属小节编号 */
	private Integer rCatalogid;
	/** 所属小节名称 */
	private String rChaptersname;
	/** 所属课程编号 */
	private String rCurriclumid;
	/** 所属课程名称 */
	private String rCurriclumname;
	/** 所属专业编号 */
	private String rProfessionid;
	/** 所属专业名称 */
	private String rProfessionname;
	/** 浏览次数 */
	private Integer rBrowsing;
	/** 资源大小 */
	private String rSize;
	/** 适用对象 */
	private String rApplyfor;
	/** 创建时间 */
	private Date createTime;
	/** 删除标记(0：正常，1：删除) */
	private String delFlag;
	/** 付费标记 */
	private String freeFlag;
	/** 状态标记（0：已审核，1：审核中，2：未审核） */
	private String rState;
	/** 视频封面 */
	private String rRemark;
	/** 上传用户 */
	private String rCreateuser;
	/** 上传时间 */
	private String rUploadtime;
	/** 资源价格 */
	private BigDecimal amount;
	/** 勋章币 */
	private Integer currency;

	/** 资源类型 */
	private String type;

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Integer getId() {
		return Id;
	}

	public void setId(Integer id) {
		Id = id;
	}

	public String getrNumber() {
		return rNumber;
	}

	public void setrNumber(String rNumber) {
		this.rNumber = rNumber;
	}

	public String getrName() {
		return rName;
	}

	public void setrName(String rName) {
		this.rName = rName;
	}

	public String getrUrl() {
		return rUrl;
	}

	public void setrUrl(String rUrl) {
		this.rUrl = rUrl;
	}

	public Integer getrCatalogid() {
		return rCatalogid;
	}

	public void setrCatalogid(Integer rCatalogid) {
		this.rCatalogid = rCatalogid;
	}

	public String getrChaptersname() {
		return rChaptersname;
	}

	public void setrChaptersname(String rChaptersname) {
		this.rChaptersname = rChaptersname;
	}

	public String getrCurriclumid() {
		return rCurriclumid;
	}

	public void setrCurriclumid(String rCurriclumid) {
		this.rCurriclumid = rCurriclumid;
	}

	public String getrCurriclumname() {
		return rCurriclumname;
	}

	public void setrCurriclumname(String rCurriclumname) {
		this.rCurriclumname = rCurriclumname;
	}

	public String getrProfessionid() {
		return rProfessionid;
	}

	public void setrProfessionid(String rProfessionid) {
		this.rProfessionid = rProfessionid;
	}

	public String getrProfessionname() {
		return rProfessionname;
	}

	public void setrProfessionname(String rProfessionname) {
		this.rProfessionname = rProfessionname;
	}

	public Integer getrBrowsing() {
		return rBrowsing;
	}

	public void setrBrowsing(Integer rBrowsing) {
		this.rBrowsing = rBrowsing;
	}

	public String getrSize() {
		return rSize;
	}

	public void setrSize(String rSize) {
		this.rSize = rSize;
	}

	public String getrApplyfor() {
		return rApplyfor;
	}

	public void setrApplyfor(String rApplyfor) {
		this.rApplyfor = rApplyfor;
	}

	@Override
	public Date getCreateTime() {
		return createTime;
	}

	@Override
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getFreeFlag() {
		return freeFlag;
	}

	public void setFreeFlag(String freeFlag) {
		this.freeFlag = freeFlag;
	}

	public String getrState() {
		return rState;
	}

	public void setrState(String rState) {
		this.rState = rState;
	}

	public String getrRemark() {
		return rRemark;
	}

	public void setrRemark(String rRemark) {
		this.rRemark = rRemark;
	}

	public String getrCreateuser() {
		return rCreateuser;
	}

	public void setrCreateuser(String rCreateuser) {
		this.rCreateuser = rCreateuser;
	}

	public String getrUploadtime() {
		return rUploadtime;
	}

	public void setrUploadtime(String rUploadtime) {
		this.rUploadtime = rUploadtime;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Integer getCurrency() {
		return currency;
	}

	public void setCurrency(Integer currency) {
		this.currency = currency;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "Resources{" +
				"Id=" + Id +
				", rNumber='" + rNumber + '\'' +
				", rName='" + rName + '\'' +
				", rUrl='" + rUrl + '\'' +
				", rCatalogid=" + rCatalogid +
				", rChaptersname='" + rChaptersname + '\'' +
				", rCurriclumid='" + rCurriclumid + '\'' +
				", rCurriclumname='" + rCurriclumname + '\'' +
				", rProfessionid='" + rProfessionid + '\'' +
				", rProfessionname='" + rProfessionname + '\'' +
				", rBrowsing=" + rBrowsing +
				", rSize='" + rSize + '\'' +
				", rApplyfor='" + rApplyfor + '\'' +
				", createTime=" + createTime +
				", delFlag='" + delFlag + '\'' +
				", freeFlag='" + freeFlag + '\'' +
				", rState='" + rState + '\'' +
				", rRemark='" + rRemark + '\'' +
				", rCreateuser='" + rCreateuser + '\'' +
				", rUploadtime='" + rUploadtime + '\'' +
				", amount=" + amount +
				", currency=" + currency +
				", type='" + type + '\'' +
				'}';
	}
}
